#include <iostream>
#include <string>

using namespace std;

int main()
{
	string s("hello world");
	string *p=&s;
	cout<<*p<<endl;
	cout<<p<<endl;

	return 0;
}